//
//  CustomScrollView.h
//
//  Created by Lucien Wei on 4/10/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef enum {		
	UIScrollViewHome = 0,
	UIScrollViewFormation = 1,
    UIScrollViewElse = 2
} UIScrollViewState;

@protocol CustomScrollViewDelegate
- (void) scrollViewButtonPressed:(int)imageIndex;
- (void) scrollViewLockButtonPressed;
- (void) scrollViewAddCardButtonPressed:(int)imageIndex;
@end

@interface CustomScrollView : UIView <UIScrollViewDelegate>
{
    id<CustomScrollViewDelegate>  delegate;
    UIScrollView    *scrollView;
    
}
@property (nonatomic, retain) UIScrollView  *scrollView;
@property (nonatomic, retain) id<CustomScrollViewDelegate> delegate;
- (void)addImagesInScrollView:(NSArray *)array Width:(float)width;
- (id)initWithFrame:(CGRect)frame scrollViewState:(UIScrollViewState)scrollState;
@end
